macos: improve placement of windows
authorChristian Hergert <christian@hergert.me>
Wed, 23 Feb 2022 02:41:41 +0000 (18:41 -0800)
committerChristian Hergert <christian@hergert.me>
Wed, 23 Feb 2022 02:43:46 +0000 (18:43 -0800)
commit89a351fd66cfb1ba7faa52b5ce6b9a158d052721
tree117251d7ae63341c5c1483c73aa9be72d2a1a9da
parentd4d328f96f5ffcc7083d6d705bd234af691259d4
macos: improve placement of windows

This does some very basic window management so that we place surfaces in
locations where they can actually be interacted with correctly.
gdk/macos/gdkmacosdisplay-private.h
gdk/macos/gdkmacosdisplay-wm.c [new file with mode: 0644]
gdk/macos/gdkmacossurface.c
gdk/macos/gdkmacostoplevelsurface.c
gdk/macos/meson.build